public class Test {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        System.out.println(myQueue.empty()); //true

        myQueue.offer(1);
        myQueue.offer(2);
        myQueue.offer(3);
        myQueue.offer(4);
        myQueue.offer(5);

        System.out.println(myQueue.poll()); //1
        System.out.println(myQueue.peek()); //2
        System.out.println(myQueue.size()); //4
        System.out.println(myQueue.empty()); //false
    }
}
